<form class="form-horizontal" role="form" method="POST" id="addPositionForm"
	action="/backend/position">

	<div class="form-group">
		<label class="col-sm-3 control-label">编码</label>
		<div class="col-sm-7">
			<input type="text" class="form-control" name="position.code"
				placeholder="必填" required autofocus>
		</div>
	</div>
	<div class="form-group">
		<label class="col-sm-3 control-label">职位名称</label>
		<div class="col-sm-7">
			<input type="text" class="form-control"
				name="position.name" placeholder="必填" required>
		</div>
	</div>
	
	<div class="modal-footer">
		<button class="btn btn-success x" style="success" type="submit">确定</button>
		<button class="btn btn-danger x" style="danger" data-dismiss="modal">取消</button>
	</div>
</form>
<script>
new Vue({
	el:"#addPositionForm",
	data:{
		roles:[],
		orgs:[],
		positions:[]
	},
	ready:function(){
		
	}
}) 
	
</script>